package cn.itcast.dao;

import cn.itcast.pojo.Permission;
import com.github.pagehelper.Page;

import java.util.List;

public interface Sys_permissionDao {
    List<Permission> findAll();

    Page<Permission> selectByCondition(String queryString);

    Boolean add(Permission permission);

    Permission findById(Integer id);

    Boolean update(Permission permission);

    Boolean deleteById(Integer id);
}
